<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="{{asset('resources/views/admin/Flat/dist/css/vendor/bootstrap.min.css')}}" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="{{asset('resources/views/admin/Flat/dist/css/flat-ui.css')}}" rel="stylesheet">
	    <link href="{{asset('resources/views/admin/Flat/docs/assets/css/demo.css')}}" rel="stylesheet">
	    <link rel="shortcut icon" href="{{asset('resources/views/admin/Flat/img/favicon.ico')}}">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	</head>
	<body>

	<form action="{{url('admin/store')}}" method="post">
		{{csrf_field()}}

		<div class="alert alert-success">添加门店</div>
		@if(count($errors)>0)
			<div class="mark">
				@if(is_object($errors))
					@foreach($errors->all() as $v)
						<p>{{$v}}</p>
					@endforeach
				@else
					<p>{{$errors}}</p>
				@endif
			</div>
		@endif
		<div class="form-group">
			<label for="exampleInputEmail1">门店名称</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入门店名称"  name="mname">
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">门店地址</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入门店地址"  name="m_address">
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">所属城市</label>
			<select name="zc_city_ctid" class="form-control">
				@foreach($data as $v)
				<option value="{{$v->ctid}}">{{$v->cityname}}</option>
				@endforeach
			</select>
		</div>
		{{--<div class="form-group">--}}
		{{--<label for="exampleInputEmail1">缩略图</label>--}}
		{{--<input id="exampleInputEmail1" type="file"  name="">--}}
		{{--</div>--}}


		<div class="form-group">
			<label for="exampleInputEmail1">营业时间</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入营业时间"  name="businessTime">
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">公交路线</label>
			<textarea name="Busroute" rows="5" cols=""  class="form-control" placeholder="请输入公交路线"></textarea>
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">门店评价</label>
			<textarea name="evaluate" rows="5" cols=""  class="form-control" placeholder="请输入门店评价"></textarea>
		</div>

		<button class="btn btn-primary btn-block" type="submit"> 确定 </button>


	</form>

	</body>
</html>
